package com.cg.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * <p>
 * 
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
@Data
@ApiModel(value="updateNews对象", description="")
public class UpdateNewsDTO {
    @NotNull
    private Long newsId;

    @NotBlank
    @Size(max = 15,message = "最多15个字符")
    private String title;

    @NotBlank
    @Size(max = 100,message = "最多100个字符")
    private String content;

    private String video;


}
